﻿<s:SurfaceWindow x:Class="MyApplication.SurfaceWindow1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    Title="MyApplication" Height="1024" Width="768">
    <s:SurfaceWindow.Resources>
        <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
    </s:SurfaceWindow.Resources>

    <Canvas Background="{StaticResource WindowBackground}" Height="1024" Width="768" Name="LayoutRoot" >

        <Rectangle Name="rectangle01" Fill="LightBlue" Height="100" Width="150" Canvas.Left="21" Canvas.Top="72" Opacity=".8" />

        <Rectangle Name="rectangle02" Fill="LightGreen" Height="100" Width="150" Canvas.Left="337" Canvas.Top="173" Opacity=".8" />

        </Canvas>

</s:SurfaceWindow>
